﻿using Aishow.Model;
using Aishow.Model.OperResult;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Aishow.IBLL
{
   public interface IUserManager { 
   /// <summary>
   /// 获取用户信息
   /// </summary>
   /// <param name="userId"></param>
   /// <returns></returns>
    OperResult<TBUsers> GetUser(int userId);

    /// <summary>
    /// 编辑
    /// </summary>
    /// <param name="user">用户信息</param>
    /// <returns></returns>
    OperResult<TBUsers> EditWithoutAvatar(TBUsers user);

    /// <summary>
    /// 编辑头像
    /// </summary>
    /// <param name="user">用户信息</param>
    /// <returns></returns>
    OperResult<TBUsers> EditAvatar(TBUsers user);
}
}
